package com.nine.shop.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * @author by Shawsw
 * @date 2019/8/24 16:35
 */
@Data
@NoArgsConstructor //无参构造器
@AllArgsConstructor//全参构造器
@TableName("db_order")
public class Order {
    @TableId
    private Integer id;
    private Integer status;//0未付款 1已付款未发货 2已发货
    private Date createDate;
    private Integer userId;
    private Integer goodsId;
    private Integer amount;
    private Double cost;
}
